package com.feign.feignClient.entity;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

//此注解用于http请求反序列化
@XmlRootElement
public class UserInfo implements Serializable{

    private static final long serialVersionUID = 5359081662542730447L;


    private Long id;
    private String name;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
